/**     
* @Title: Product.java   
* @Package me.crawler.test   
* @Description: TODO   
* @author xaoyaoyao
* @date 2019年1月12日 下午2:53:31
*/
package me.crawler.test;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import lombok.Data;
import lombok.ToString;

/**
 * @ClassName: Product
 * @Description: TODO
 * @author xaoyaoyao
 * @date 2019年1月12日 下午2:53:31
 * 
 */
@Data
@ToString
@XStreamAlias("product")
public class Product {

	@XStreamAlias("name")
	private String name;

	@XStreamAlias("quantity")
	private Integer quantity;

	@XStreamAlias("price")
	private Double price;

	@XStreamAlias("imgUrl")
	private String imgUrl;

	public Product(String name, Integer quantity, Double price, String imgUrl) {
		super();
		this.name = name;
		this.price = price;
		this.imgUrl = imgUrl;
	}
}
